home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / libdwarf / dwarf_funcs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.1 KB  |  49 lines

  1. /*
  2.     dwarf_funcs.h
  3.  
  4.     $Revision: 1.1 $        $Date: 1993/08/26 01:09:45 $
  5. */
  6.  
  7.  
  8. typedef struct Dwarf_Func_Context_s    *Dwarf_Func_Context;
  9.  
  10. /* 
  11.     This struct contains header information for a set of function
  12.     names.  Essentially, they contain the context for a set of 
  13.     function names belonging to a compilation-unit.
  14. */
  15. struct Dwarf_Func_Context_s {
  16.  
  17.         /* 
  18.         Length in .debug_funcnames of a set of function
  19.         names for a compilation-unit. 
  20.     */
  21.     Dwarf_Word            fu_length;
  22.  
  23.     /* 
  24.         Offset into .debug_info of the compilation-unit
  25.         for this set of function names.
  26.     */
  27.     Dwarf_Off            fu_info_offset;
  28.  
  29.     /* Size of compilation-unit that these function names are in. */
  30.     Dwarf_Unsigned        fu_info_length;
  31. };
  32.  
  33.  
  34. /* This struct contains information for a single function name. */
  35. struct Dwarf_Func_s {
  36.  
  37.     /* 
  38.         Offset from the start of the corresponding compilation-unit
  39.         of the DIE for the given function name.
  40.     */
  41.     Dwarf_Off            fl_cu_offset;
  42.  
  43.     /* Points to the given function name. */
  44.     Dwarf_Small            *fl_name;
  45.  
  46.     /* Context for this function name. */
  47.     Dwarf_Func_Context        fl_context;
  48. };
  49.